package com.centaline.androidsalesblog.api.sale;

import com.centaline.androidsalesblog.api.SaleApi;
import com.centaline.androidsalesblog.model.responseobject.StaffListRo;
import com.centanet.framework.interfaces.IResponseListener;

/**
 * 根据小区Code集合，得到经纪人列表
 * Created by Ruanzb on 16/5/8.
 */
public class StaffCestApi extends SaleApi<StaffListRo> {

    private String cestcodes;

    public void setCestcodes(String cestcodes) {
        this.cestcodes = cestcodes;
    }

    public StaffCestApi(Class<?> tag, Class<StaffListRo> aClass, IResponseListener<StaffListRo> iResponseListener) {
        super(tag, aClass, iResponseListener);
    }

    @Override
    protected void setParams() {
        putParams("cestcodes", cestcodes);

    }

    @Override
    protected String getPath() {
        return "Staff";
    }
}
